﻿<!DOCTYPE html>
<html>
	<head>
		<title>TOROW Function</title>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
			<div class="search-field">
				<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
			</div>
			<h1>TOROW Function</h1>
			<p>The <b>TOROW</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#lookupreference" onclick="onhyperlinkclick(this)">lookup and reference functions</a>. It is used to return the array as one row.</p>
			<h3>Syntax</h3>
			<p><b><em>TOROW (array, [ignore], [scan_by_column])</em></b></p>
			<p>The <b>TOROW</b> function has the following arguments:</p>
			<table style="width: 40%">
                <tr>
                    <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                    <th style="background-color: #f4f4f4"><b>Description</b></th>
                </tr>
                <tr>
                    <td><b><em>array</em></b></td>
                    <td>The array or reference to return as a row.</td>
                </tr>
				<tr>
                    <td><b><em>ignore</em></b></td>
                    <td>Is used to set whether to ignore certain types of values. Defaults to ignoring no values. The following values are used: <b>0</b> to keep all values (default); <b>1</b> to ignore blanks; <b>2</b> to ignore errors; <b>3</b> to ignore blanks and errors.</td>
                </tr>
				<tr>
                    <td><b><em>scan_by_column</em></b></td>
                    <td>Is used to scan the array by column. By default, array scanning is conducted by row. Scanning determines whether the values are arranged in rows or columns. A logical value (TRUE or FALSE).</td>
                </tr>
            </table>
			<h3>Notes</h3>
            <p>If <b><em>scan_by_column</em></b> is omitted or FALSE, the array is scanned by row. If it is TRUE, the array is scanned by column.</p>
			<p>Please note that this is an array formula. To learn more, please read the <a href="../UsageInstructions/InsertArrayFormulas.htm" onclick="onhyperlinkclick(this)">Insert array formulas</a> article.</p>
			<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>TOROW</b> function.</p>
			
			<h3>Examples</h3>
            <p>The figure below displays the result returned by the <b>TOROW</b> function.</p>
			<p><img alt="TOROW Function" src="../images/torow.png" /></p>
		</div>
	</body>
</html>